﻿using System.ComponentModel.DataAnnotations;

namespace WebApplication3.Model
{
    public class Category
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Difficulty { get; set; }
        public int Counts { get; set; }
      //  public ICollection<Question> Questions { get; set; }
    }

    public class Question
    {
        public int Id { get; set; }
        public int CategoryId { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }

        public string Answer { get; set; }
        public string Parse { get; set; }
        public string A { get; set; }
        public string B { get; set; }
        public string C { get; set; }
        public string D { get; set; }
        public string Options
        {
            get; set;

        }
    }
    public class TestResult
    {
        public int Id { get; set; }
        public int MinScore { get; set; }
        public int MaxScore { get; set; }
        public string Result { get; set; }
        public int CategoryId { get; set; }
    }
    public class TestScore
    {
        public int Id { get; set; }
        public int Score { get; set; }
        public int Category { get; set; }
        public DateTime TestDate { get; set; }
    }
    public class User
    {
        public int Id { get; set; }
        public string Password { get; set; }
        public string UserId { get; set; }
        public string Username { get; set; }
    }
    public class Login
    {
        public int Id { get; set; }
        public string Password { get; set; }
        public string Username { get; set; }
        public int UserId { get; set; }
    }

}
